package com.bluefox.base.jpa.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

public interface PagingAndSortingService<T,ID> extends CrudService<T,ID> {


    Iterable<T> findAll(Sort sort);


    Page<T> findAll(Pageable pageable);
}
